package com.zky.gulimall.ware.feign;

import com.zky.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description 订单服务
 * @Author 张开源
 * @Date 2022/12/15 17:27
 * @Version 1.0
 **/
@FeignClient("gulimall-order")
public interface OrderFeignService {
    /**
     * 根据订单号查询订单状态
     */
    @GetMapping("/order/order/status/{orderSn}")
    R getOrderStatus(@PathVariable("orderSn") String orderSn);
}
